# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=cloudflare-ddns
pkgver=1.3.0
pkgrel=0
pkgdesc="DDNS script to sync public IP address to CloudFlare dns records"
options="!check" # No testsuite
url="https://github.com/ailionx/cloudflare-ddns"
arch="noarch"
license="MIT"
depends="py3-setuptools py3-requests"
source="$pkgname-$pkgver.tar.gz::https://github.com/ailionx/cloudflare-ddns/archive/$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="b059b7795bb26de2c83e3619a5dba281bfacbbf0fa33a5678846043d64f805b8f40c3266e246f1dfd36003205babed4938a039f9f669aabedf9903ca0360a867  cloudflare-ddns-1.3.0.tar.gz"
